package com.hzqy.persistence.dao.statistics;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.PmsUserVo;
import com.hzqy.web.vo.StatDataListenAllVo;
import com.hzqy.web.vo.StatDataListenTop20Vo;
import com.hzqy.web.vo.StatDataListenVo;
import com.hzqy.web.vo.StatDataOrderSourceVo;
import com.hzqy.web.vo.StatDataOrderTimePeriodsVo;

@Repository
public class OrderTimePeriodsDao extends PersistenceDao<PmsUserVo, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(OrderTimePeriodsDao.class);

	public int selectOrderTimePeriodsCount(StatDataOrderTimePeriodsVo statDataOrderTimePeriodsVo) {
		return getSqlSession().selectOne(this.getNamespace()+"selectOrderTimePeriodsCount", statDataOrderTimePeriodsVo);
	}
	
	public List<StatDataOrderTimePeriodsVo> selectOrderTimePeriodsList(Map<String,Object> map){
		return getSqlSession().selectList(this.getNamespace() + "selectOrderTimePeriodsList", map);
	}
	
	public List<StatDataOrderTimePeriodsVo> selectOrderTimePeriodsExcelList(Map<String,Object> map){
		return getSqlSession().selectList(this.getNamespace() + "selectOrderTimePeriodsExcelList", map);
	}
	
}
